/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Controlador.Service.RRHH;

import Controlador.Bean.RRHH.Turno;
import Data.config.SessionFac;
import java.util.List;
import org.apache.ibatis.session.SqlSession;

/**
 *
 * @author david
 */
public class ServicioTurno {

   public static List<Turno> SeleccionarTodo() {
        SqlSession sqlsession = SessionFac.SessionFactory().openSession();
        List<Turno> data = (List)sqlsession.selectList("Data.turno.ServicioTurno.seleccionarTodo");
        sqlsession.close();
        return data;
    }
}
